This week we're
going to talk about the relations between
multiple classes. There's two basic relationships, inheritance and association, or is a type of or Has-a. We're going to talk
about when to use each. You're going be able to predict
the output of code that has inheritance and association. You'll create a subclass, and override inherited method. That's also called
specialization. You'll create a
parent class that generalizes from two
or more other classes. Pull out the generalization
into the parent class, and then have the children class inherit from the parent class. We'll analyze domains to identify relationships
between classes. As an assignment,
you're going to create a subclass
of the image class, and create three
different image effects. I hope you have a good time.